package com.fuluwa.domain.category.service;

import com.fuluwa.infra.exception.ErrorConsts;
import com.fuluwa.infra.exception.FlwException;

public class CategoryException extends FlwException {

	public CategoryException(String message, Throwable cause) {
		super(message, cause);
		setErrCode(ErrorConsts.CATEGORY_ERROR);
	}

	public CategoryException(String errMsg) {
		super(ErrorConsts.CATEGORY_ERROR, errMsg);
	}

	public CategoryException(String errMsg, int innerErrCode, String innerErrMsg) {
		super(ErrorConsts.CATEGORY_ERROR, errMsg, innerErrCode, innerErrMsg);
	}

}
